<h1>Edit Category</h1>
<p>Please enter the Category information below.</p>
<?php if(!empty($message)) {?>
<div class="alert alert-error">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<?php echo $message;?></div>
<?php }?>
<?php echo form_open(current_url());?>
<table width="60%" align="center" class="table-condensed">  
        <tr>
          <td width="31%">Category Name: </td>
          <td colspan="2"><?php echo form_input($name);?></td>
        </tr>
        <tr>
          <td width="31%">Description: </td>
          <td colspan="2"><?php echo form_input($description);?></td>
        </tr>
        <tr>
           <td>
	            <?php echo form_hidden('id', $user->id);?> 
          </td>
        </tr>
        <tr>
          <td colspan="3"><?php echo form_submit($submit,'class="btn btn-success"');?></td>
  </tr>
</table>
<?php echo form_close();?>
